import Vue from 'vue'
import vuex from 'vuex'
import app from './app'
import user from './user'
import order from './order'
import chat from './chat'
import map from './map'

Vue.use(vuex)
export default new vuex.Store({
  state: {
    orderDetail: {} // 订单详情
  },
  modules: {
    app: app,
    user: user,
    order: order,
    chat: chat,
    map: map
  }
})
